@inherits Mindfor.Sites.Views.Shared.LinkButtonTemplate
@{
	if (Model == null)
	{
		return;
	}
	string attrs = GetAttributes();
	string classes = "button " + this.GetAdditionalClasses();
}
<a href="@Model.Url" @attrs.AsHtml() class="@classes" @(string.IsNullOrEmpty(Model.ContextHelpTitle) ? null : ("data-help-title=\"" + Model.ContextHelpTitle + "\"").AsHtml())>
	@if (!String.IsNullOrEmpty(Model.IconName)) {
		<img src="/Content/Icons/@Model.IconName" alt="" height="16px" />
	 }
	@if (!String.IsNullOrEmpty(Model.Text)) {
		@Model.Text
	}
	<span data-help="itext">